<template>
	<view class="container">
		<fu-navbar title="后台系统" bgColor="#0f68f0" color="#fff" isBackText></fu-navbar>
		<view class="content">
			<view class="fs-34 text-bold">在电脑上可登录管理后台</view>
			<view class="flex align-center margin-t-16">
				<view class="link">http://150.158.135.136:9002/</view>
				<text class="margin-l-24" @click="copy('http://150.158.135.136:9002/')">复制</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		methods: {
			copy(text) {
				uni.setClipboardData({
					data: text,
					success: res => {
						uni.showToast({
							title: '复制成功',
							icon: 'none'
						})
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		padding-top: 150rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.link {
		color: #027DB4;
		font-size: 28rpx;
		font-weight: bold;
	}
	.fs-34 {
		font-size: 34rpx;
	}
	.flex {
		display: flex;
	}
	.align-center {
		align-items: center;
	}
</style>